package com.atguigu.self.constant;


public class CacheAbleConstant {


    // 数据同步时间
    public static Long SYNC_DATA_TIME = 200l;
    // 定义redis缓存的协议
    public static String REDIS_CACHE_PROTOCOL = "redis://";
    public static String REDIS_CACHE_PROTOCOL_SPLIT = ":";
    // 定义分布式布隆的锁key
    public static String DISTRO_BLOOM_LOCK_KEY = "albumIdBloomFilter:lock";
    // 定义分布式布隆的锁key的站位符
    public static String DISTRO_BLOOM_LOCK_FLAG = "1";
    // 定义分布式布隆的名字
    public static String DISTRO_BLOOM_NAME = "albumIdBloomFilter";
    // 定义分布式布隆的名字
    public static long DISTRO_BLOOM_SIZE = 800000L;
    public static double DISTRO_BLOOM_FPP = 0.03;
    public static long SYNC_HAS_NO_DATA_TTL = 30L;
    public static long SYNC_HAS_DATA_TTL = 60 * 24 * 7L;

}
